﻿using System.Collections.Generic;
using ScrumLite.Services.Contracts;
using System.Collections.ObjectModel;
namespace ScrumLite.WebUx.Models
{

    public class RequestsMetricsData : ContextViewData
    {
        public RequestsMetricsData(Dictionary<int, int> weeklyWeight, Dictionary<RequestStatus, int> requestsByStatus, Dictionary<WorkArea, Dictionary<RequestStatus, int>> requestsByStatusByWorkAreas, Collection<string> googleChartRequestsByStatusByWorkAreaBars)
        {
            this.WeeklyWeight = weeklyWeight;
            this.RequestsByStatus = requestsByStatus;
            this.RequestsByStatusByWorkAreas = requestsByStatusByWorkAreas;
            this.GChartRequestsByStatusByWorkAreaBars = googleChartRequestsByStatusByWorkAreaBars;
        }

        public Dictionary<int, int> WeeklyWeight { get; private set; }
        public Dictionary<RequestStatus, int> RequestsByStatus { get; private set; }
        public Dictionary<WorkArea, Dictionary<RequestStatus, int>> RequestsByStatusByWorkAreas { get; private set; }
        public string GChartRequestsByStatusPie { get; set; }
        public string GChartRequestsLine { get; set; }
        public Collection<string> GChartRequestsByStatusByWorkAreaBars { get; private set; }
    }
}
